﻿using NetFrame;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NetFrame.Auto;
using NetFrame.Util;
using NetFrame.Log;

namespace LOLServer
{
    class Program
    {
        static void Main(string[] args)
        {
            ServerStart ss = new ServerStart(100);
            ss.Encode = MessageEncoding.Encode;
            ss.mCenter = new HandlerCenter();
            ss.Decode = MessageEncoding.Decode;
            ss.LD = LengthEncoding.decode;
            ss.LE = LengthEncoding.encode;
            ss.Start(8699);
            Console.ReadKey();
        }
    }
}
